package com.hongdong.flowable.entity;

import lombok.Data;
import org.apache.commons.digester3.annotations.rules.ObjectCreate;
import org.apache.commons.digester3.annotations.rules.SetProperty;

@Data
@ObjectCreate(pattern = "definitions/process")
public class XmlProcess {

    @SetProperty(pattern = "definitions/process",attributeName = "id")
    private String id;

    @SetProperty(pattern = "definitions/process",attributeName = "name")
    private String name;

    @SetProperty(pattern = "definitions/process",attributeName = "isExecutable")
    private Boolean isExecutable;
}
